package com.briup.pts.mapper;

import com.briup.pts.domain.bean.FenceHouse;
import com.briup.pts.domain.vo.FenceHouseWithChildren;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 25095
 * @description
 * @data 2024/11/27-11:21
 */
@Mapper
public interface FenceHouseMapper {
    List<FenceHouse> queryPage(@Param("fhName") String fhName);

    FenceHouseWithChildren selectById(String fhId);

    void addsaveOrUpdate(FenceHouse fh);

    void updatasaveOrUpdate(FenceHouse fh);

    void deleteById(String hId);

    void deleteByIdAll(List<String> ids);
}
